package org.rugby.online.impl;

import org.rugby.online.core.humans.RboHuman;

public class DefaultHuman extends DefaultObject implements RboHuman {

	/**
	 * Serial UID
	 */
	private static final long serialVersionUID = 1144166698497613084L;

	private String firstName;
	
	private short age;
	
	@Override
	public final String getFirstName() {
		return this.firstName;
	}

	@Override
	public final short getAge() {
		return this.age;
	}

	/**
	 * @param firstName the firstName to set
	 */
	protected final void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	/**
	 * @param yearOfBirth the yearOfBirth to set
	 */
	protected final void setAge(short age) {
		this.age = age;
	}
	
	/**
	 * Method to increase the age by 1
	 */
	public final void popUpAge() {
		this.age++;
	}
	
	
}
